var homeOBJ = { template: '<div><h1>Home</h1><p>1111</p></div>' }

let template1 = `
    <div class = 'foo'>
        <h1>foo</h1>
        <p>{{msg}}</p>
    </div>
`

var fooOBJ =
{ template: template1,
    data () {
        return {
            msg: 52
        }
    },
    created () {
        this.login()
    },
    methods: {
        login(){
            this.msg = '我是新该的数据'
        }
    }     
} 
